package com.itany.corejava.code07_常用类.枚举;

/**
 * @author MissChen
 * @date 2024年03月02日 13:33
 */
public class Test {
    public static void main(String[] args) {
        Sport sport=new Sport("游泳",Season.SUMMER);
        Sport sport2=new Sport("赏花",Season.WINTER);
        Sport sport3=new Sport("骑车",Season.AUTUMN);
        Sport sport4=new Sport("骑车",Season.ALL);
        System.out.println(sport);
        System.out.println(sport2);
        System.out.println(sport3);
        System.out.println(Season.SUMMER.getName()+Season.SUMMER.getStartMonth()+Season.SUMMER.getEndMonth());
    }
}
